package com.wuneng.ircontrol.common.util;

import android.app.Fragment;
import android.content.Intent;
import android.view.View;
import android.widget.Toast;


public class BaseFragment extends Fragment {
    public View view;

    protected void showToast(String s) {
        Toast.makeText(getActivity(), s, Toast.LENGTH_SHORT).show();
    }

    protected void startActivity(Class<?> c) {
        startActivity(new Intent(getActivity(), c));
    }
}
